package com.lagou.zuoye.test;

import com.lagou.zuoye.bean.User;
import com.lagou.zuoye.dao.UserDao;
import com.lagou.zuoye.dao.UserDaoImp;
import com.lagou.zuoye.service.UserService;

public class UserTestService {
    public static void main(String[] args) {
        UserDao userDao = new UserDaoImp();
        UserService userService = new UserService();
        User admin = userService.userLoginService(new User("admin", "123456"));

        System.out.println("找到的数据为："+admin);
    }
}
